package com.ideaaedi.zoo.diy.feature.reqresp.encdec.api.serializer;

import javax.annotation.Nonnull;

/**
 * 响应加密时序列化器
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
public interface ResponseEncryptSerializer {
    
    /**
     * 将对象转换为json字符串
     *
     * @param obj 待转化对象
     *
     * @return 转换后的json字符串
     */
    @Nonnull
    String toJson(@Nonnull Object obj);
}
